package com.itstherules.jmsunit.mock.dummy;

import java.util.Enumeration;

import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.TextMessage;

public class DummyMessage implements TextMessage {

	private final String message;

	public DummyMessage(String message) {
		this.message = message;
	}

	public String getText() throws JMSException {
		return message;
	}

	public void setText(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void acknowledge() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void clearBody() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void clearProperties() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public boolean getBooleanProperty(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public byte getByteProperty(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public double getDoubleProperty(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public float getFloatProperty(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public int getIntProperty(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public String getJMSCorrelationID() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public byte[] getJMSCorrelationIDAsBytes() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public int getJMSDeliveryMode() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public Destination getJMSDestination() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public long getJMSExpiration() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public String getJMSMessageID() throws JMSException {
		return "";
	}

	public int getJMSPriority() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public boolean getJMSRedelivered() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public Destination getJMSReplyTo() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public long getJMSTimestamp() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public String getJMSType() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public long getLongProperty(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public Object getObjectProperty(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	@SuppressWarnings("unchecked")
	public Enumeration getPropertyNames() throws JMSException {
		throw new RuntimeException("TODO");
	}

	public short getShortProperty(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public String getStringProperty(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public boolean propertyExists(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setBooleanProperty(String s, boolean flag) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setByteProperty(String s, byte byte0) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setDoubleProperty(String s, double d) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setFloatProperty(String s, float f) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setIntProperty(String s, int i) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSCorrelationID(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSCorrelationIDAsBytes(byte[] abyte0) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSDeliveryMode(int i) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSDestination(Destination destination) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSExpiration(long l) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSMessageID(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSPriority(int i) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSRedelivered(boolean flag) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSReplyTo(Destination destination) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSTimestamp(long l) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setJMSType(String s) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setLongProperty(String s, long l) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setObjectProperty(String s, Object obj) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setShortProperty(String s, short word0) throws JMSException {
		throw new RuntimeException("TODO");
	}

	public void setStringProperty(String s, String s1) throws JMSException {
		throw new RuntimeException("TODO");
	}

}
